<?php

// PEAR 类库学习
/*
require_once 'DB.php';
require_once 'Auth.php';
$db = new DB ();
$auth = new Auth ( 'mysql' );
require 'Numbers/Roman.php';
$nr = new Numbers_Roman ();
$year = date ( 'Y' );
$romanyear = $nr->toNumeral ( $year );
echo date ( 'Y-m-d H:i:s', time () );
echo "Copyright &copy; $romanyear";
*/

/*
//输出本月的日历
require_once 'Calendar/Month/Weekdays.php';
$month = new Calendar_Month_Weekdays(2014,6,0) ;

$month->build() ;

while ($day = $month->fetch())
{
	echo $day->thisDay() .'<br />';
}
*/

/*
//文件上传例子
if ($_POST){
	print_r($_FILES) ;
	
	die ;
}
require_once 'HTML/Form.php';
$f = new HTML_Form('test.php','POST','fileupload','_self','multipart/form-data') ;
$f->start() ;

echo '<label>文件上传：</label>'.$f->returnFile() ;
echo $f->returnSubmit();
$f->end() ;
*
*/





























